import request from '@/utils/request'

export function getRechargeConfig() {
    return request.get({ url: '/recharge.recharge/getConfig' })
}

// 设置
export function setRechargeConfig(params: any) {
    return request.post({ url: '/recharge.recharge/setConfig', params })
}

export function uploadServerVoucher(params: any) {
    return request.post({ url: '/recharge.recharge/uploadServerVoucher', params })
}


export function ApiUpdateServerStatus(params: any) {
    return request.post({ url: '/recharge.recharge/updateServerStatus', params })
}

export function ApiUpdateRemark(params: any) {
    return request.post({ url: '/recharge.recharge/updateRemark', params })
}

